import request from "@/utils/request";
import { Tag } from "@/types/tag";

/**
 * 获取文章标签
 * @returns
 */
export const queryTagList = (): ResponseResult<Array<Tag>> =>
  request({
    url: `${process.env.VUE_APP_BASE_API}/tag/list`,
    method: "GET",
  });
